package com.analysis.library.server1.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author analysis
 * @email  work_mingyan@163.com
 * @date   2022年9月4日 下午11:53:21
 * @Description  XXXXXXXX 
 */
@RestController
@RequestMapping("/user")
public class UserController {

	@GetMapping("/getUser/{userName}")
	public String getUser(@PathVariable("userName") String userName) {
		String result = "我是服务提供者002，我被getUser服务" + userName + "调用了！";
		return result;
	}
}
